#pragma once

#include "../IFilter.h"

// CSobelEdgeDetector command target

class CSobelEdgeDetector : public IImageFilter
{
public:
	CSobelEdgeDetector();
	virtual ~CSobelEdgeDetector();

	virtual BOOL Apply(CxImage& srcImage, CxImage& destImage);

protected:
	// Sobel kernels
	static int xKernel[3][3];
	static int yKernel[3][3];
};


